import sun.net.spi.nameservice.NameService;
import sun.net.spi.nameservice.NameServiceDescriptor;


public class MyNameServiceDescriptor implements NameServiceDescriptor {
	private static MyNameService mns=new MyNameService();

	@Override
	public NameService createNameService() throws Exception {
 		return mns;
	}

	@Override
	public String getProviderName() {
 		return "MyNameService";
	}

	@Override
	public String getType() {
 		return "dns";
	}

}
